@import '~@/style/base.less';
.payment_wrap {
  min-height: 100%;
  display: flex;
  flex-flow: column;
}

.payment_info {
  background: #ffffff;
  flex: 0 1 230px;
  margin-bottom: 16px;
  .info {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 0 30px;
  }
  .price {
    font-size: 48px;
    color: @color_text;
    font-weight: bold;
    margin-bottom: 20px;
  }
  .timed {
    padding: 0 30px;
    line-height: 48px;
    background: #f8f8f8;
    color: @color_subtext;
    border-radius: 24px;
    margin: 0;
  }
  .icon {
    display: block;
    margin: 36px auto 16px;
    width: 148px;
    height: 148px;
    background: url('~@/assets/images/pay_wait.png') center no-repeat;
    background-size: 148px;
  }
}

.payment_list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1 1;
  li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 0 28px;
    height: 100px;
    font-size: 32px;
    & + li {
      // border-top: 1px solid @color_border;
    }
    .channel_info {
      display: flex;
      align-items: center;
      font-size: 32px;
      color: @color_text;
    }
    .recommand_icon {
      display: inline-block;
      vertical-align: middle;
      height: 36px;
      padding: 0 20px;
      border-radius: 23px 23px 23px 0;
      color: #fff;
      font-size: 22px;
      background-image: linear-gradient(to right, #FC5B4F, #FB757B);
      box-shadow: 0 0.01rem 0.1rem 0 rgb(252 108 107);
      margin-left: 10px;
    }
    .pic {
      img {
        height: 40px;
        margin: 0 20px 0 0;
      }
    }
  }
}

.payment_btn {
  flex: 0 0 auto;
  display: block;
  width: 626px;
  height: 88px;
  border-radius: 16px;
  font-size: 32px;
  font-weight: bold;
  border: 0;
  margin: 30px auto;
  .buttonBg();
  .buttonShadow();
  > span {
    padding: 0 8px;
  }
}

.wait_wrap {
  background: #ffffff;
  height: 100%;
  display: flex;
  flex-flow: column;
  padding: 0 20px;
  .wait_back {
    flex: 0 0 auto;
    height: 100px;
    line-height: 100px;
    color: @color_text;
    padding-left: 32px;
    // background: url('@{imgUrl}/go_back.png') left center no-repeat;
    background-size: 19px auto;
  }
  .info {
    flex: 1 1;
    display: flex;
    flex-flow: column;
    justify-content: center;
  }
  .order_amount {
    text-align: center;
    font-weight: bold;
    font-size: 60px;
    margin: 0;
  }
  .order_no {
    text-align: center;
    font-size: 28px;
    margin: 50px 0 0;
  }
  .wait_tips {
    text-align: center;
    flex: 0 0 auto;
    padding: 28px 0;
  }
  .bounce {
    flex: 0 0 auto;
    text-align: center;
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 80px auto 0;
    div {
      height: 100%;
      flex: 0 0 auto;
      width: 6px;
      margin: auto;
      background-color: #f7aa15;
      -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
      animation: stretchdelay 1.2s infinite ease-in-out;
      &:nth-child(2) {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
      }

      &:nth-child(3) {
        -webkit-animation-delay: -1s;
        animation-delay: -1s;
      }

      &:nth-child(4) {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
      }

      &:nth-child(5) {
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
      }
    }
    @keyframes stretchdelay {
      0%,
      40%,
      100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
      }

      20% {
        transform: scaleY(1);
        -webkit-transform: scaleY(1);
      }
    }
  }
  .button {
    display: block;
    width: 500px;
    height: 80px;
    border: 0;
    margin: 50px auto 0;
    &.pay {
      background: @color_theme;
      color: #ffffff;
      border-radius: 10px;
    }
    &.finish {
      background: transparent;
      color: @color_theme;
      border: 1px solid @color_theme;
      border-radius: 10px;
    }
  }
}

.card_pay {
  position: fixed;
  z-index: 9;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 10px 10px 0 0;
  background: #ffffff;
  padding: 0 28px 28px;
  animation: card_in 0.5s;
  .title {
    font-size: 30px;
    font-weight: bold;
    line-height: 80px;
    margin-bottom: 40px;
  }
  .item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    > label {
      flex: 0 0 100px;
    }
    > span {
      margin-right: 20px;
    }
    > div {
      flex: 1 1;
      padding: 0 20px;
      background: #fafafa;
      height: 60px;
      border-radius: 10px;
      margin: 0 20px;
      input {
        width: 100%;
        height: 100%;
        border: 0;
        background: transparent;
      }
    }
  }
  .close {
    // .modal_close();
    position: absolute;
    right: 28px;
    top: 20px;
  }
}

@keyframes card_in {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

.payment_logo {
  flex: 0 0 auto;
  display: block;
  width: 100%;
  height: 100px;
  // background: url('@{imgUrl}/logo.png') center top no-repeat;
  background-size: auto 50px;
  font-size: 0;
  margin-top: 80px;
}

.result_wrap {
  display: flex;
  flex-flow: column;
  min-height: 100%;
  background: #ffffff;
  padding: 0 0 30px;
}

.result_header {
  flex: 0 0 auto;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0 24px;
  .hasMore();
}

.result_flex {
  flex: 1 1;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.result_price {
  flex: 0 0 auto;
  text-align: center;
  // font-size: 36px;
  line-height: 1;
  > p {
    margin-top:37px ;
    color: #999;
    font-size: 36px;

  }
 
  & + a,
  & + i {
    display: inline-block;
  }
  .pay_status {
    font-size: 60px;
    color: #242930;
    display: inline-block;
    margin-top: 45px;
    :global {
      animation: zoomIn 400ms ease-out;
    }
  }
  & + .result_invoice {
    margin-top: 55px;
    color: #999;
  }
  & ~ .result_invoice_detail {
    margin-top: 28px;
    color: @color_theme;
    position: relative;
    &:after {
      position: absolute;
      content: '';
      height: 1px;
      width: 100%;
      bottom: -10px;
      background: @color_theme;
      left: 0;
      right: 0;
    }
  }
}
.btn() {
  margin-top: 86px;
  height: 88px;
  padding: 0 114px;
  text-align: center;
  color: #fff;
  font-size: 28px;
  border-radius: 8px;
  border: none;
  :global {
    animation: jackInTheBox 400ms ease-out;
  }
  &:active {
    transform: scale(0.8);
  }
}

.to_index {
  .btn();
  background: #000;
}
.to_order_detail {
  .btn();
  background: transparent;
  color: #000;
  border: 1px solid #000;
}


.result_shopping {
  .hasMore();
  margin-top: 40px;
  padding-left: 30px;
  color: #999999;
}

.result_icons {
  svg {
    width: 150px;
    height: 150px;
  }
  margin-bottom: 20px;
}

.dn {
  display: none !important;
}
